package com.ydkj.a37e_mall.Classes.Model.Response;

import java.util.List;

/**
 * Created by Administrator on 2017/2/9.
 */

public class leftTpyeResp {


    /**
     * errno : 000
     * errmsg :
     * result : {"data":[{"id":"5","name":"3C产品","column":"3C产品","thumb":"","parent_id":"1","parent":"","created_at":"2017-01-23 17:34:37","updated_at":"2017-01-23 17:34:37","path":"0-5","separator":"","brands":"","format_type":1},{"id":"8","name":"家居用品","column":"家居用品","thumb":"","parent_id":"1","parent":"","created_at":"2017-01-23 17:57:15","updated_at":"2017-02-07 20:46:57","path":"0-8","separator":"","brands":"","format_type":1}],"total_page":1,"current_page":1,"total":"2","access_token":""}
     */

    private String errno;
    private String errmsg;
    private ResultEntity result;

    public String getErrno() {
        return errno;
    }

    public void setErrno(String errno) {
        this.errno = errno;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public ResultEntity getResult() {
        return result;
    }

    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public static class ResultEntity {
        /**
         * data : [{"id":"5","name":"3C产品","column":"3C产品","thumb":"","parent_id":"1","parent":"","created_at":"2017-01-23 17:34:37","updated_at":"2017-01-23 17:34:37","path":"0-5","separator":"","brands":"","format_type":1},{"id":"8","name":"家居用品","column":"家居用品","thumb":"","parent_id":"1","parent":"","created_at":"2017-01-23 17:57:15","updated_at":"2017-02-07 20:46:57","path":"0-8","separator":"","brands":"","format_type":1}]
         * total_page : 1
         * current_page : 1
         * total : 2
         * access_token :
         */

        private int total_page;
        private int current_page;
        private String total;
        private String access_token;
        private List<DataEntity> data;

        public int getTotal_page() {
            return total_page;
        }

        public void setTotal_page(int total_page) {
            this.total_page = total_page;
        }

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public String getAccess_token() {
            return access_token;
        }

        public void setAccess_token(String access_token) {
            this.access_token = access_token;
        }

        public List<DataEntity> getData() {
            return data;
        }

        public void setData(List<DataEntity> data) {
            this.data = data;
        }

        public static class DataEntity {
            /**
             * id : 5
             * name : 3C产品
             * column : 3C产品
             * thumb :
             * parent_id : 1
             * parent :
             * created_at : 2017-01-23 17:34:37
             * updated_at : 2017-01-23 17:34:37
             * path : 0-5
             * separator :
             * brands :
             * format_type : 1
             */

            private String id;
            private String name;
            private String column;
            private String thumb;
            private String parent_id;
            private String parent;
            private String created_at;
            private String updated_at;
            private String path;
            private String separator;
            private String brands;
            private int format_type;
            private boolean is_check;

            public boolean is_check() {
                return is_check;
            }

            public void setIs_check(boolean is_check) {
                this.is_check = is_check;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getColumn() {
                return column;
            }

            public void setColumn(String column) {
                this.column = column;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public String getParent_id() {
                return parent_id;
            }

            public void setParent_id(String parent_id) {
                this.parent_id = parent_id;
            }

            public String getParent() {
                return parent;
            }

            public void setParent(String parent) {
                this.parent = parent;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public String getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(String updated_at) {
                this.updated_at = updated_at;
            }

            public String getPath() {
                return path;
            }

            public void setPath(String path) {
                this.path = path;
            }

            public String getSeparator() {
                return separator;
            }

            public void setSeparator(String separator) {
                this.separator = separator;
            }

            public String getBrands() {
                return brands;
            }

            public void setBrands(String brands) {
                this.brands = brands;
            }

            public int getFormat_type() {
                return format_type;
            }

            public void setFormat_type(int format_type) {
                this.format_type = format_type;
            }
        }
    }
}
